package com.lsiyun.sync_file.protocol;

public class SyncProtocol {
    public final static int C2S_CLOSE = 1000;
    /**
     * 客户端-服务器：推送全部信息;
     */
    public final static int C2S_SEND_FILES_INFO = 1;
    public final static int C2S_GET_FILES_INFO = 2;

    /**
     * 客户端-服务器：添加文件;
     */
    public final static int C2S_ADD_FILE = 10;

    /**
     * 客户端-服务器：删除文件;
     */
    public final static int C2S_DELETE_FILE = 20;
    /**
     * 客户端-服务器：要求获取文件;
     */
    public final static int C2S_GET_FILE = 30;

    /**
     * 客户端-服务器：要求更新远程文件时间;
     */
    public final static int C2S_UPDATE_TIME = 40;
}
